package io.github.talelin.latticy.model.ag;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.util.Date;

@TableName("ag_monitoring_object")
@Data
public class MonitoringObejctDO {
    @TableId(value = "id",type = IdType.AUTO)
    private int id;
    private String unitId;
    private String moType;
    private String moId;
    private String moState;
    @JsonIgnore
    private Date createTime;
    @JsonIgnore
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    @JsonIgnore
    @TableLogic
    private Date deleteTime;
}
